<?php
class Test_Helloworld_IndexController extends Mage_Core_Controller_Front_Action {        
    public function indexAction() 
    {
        echo 'Hello World!';
    }
    
    public function blogAction()
    {
	    $params = $this->getRequest()->getParams();
	    $blogpost = Mage::getModel('helloworld/blogpost');
	    echo("Loading the blogpost with an ID of ".$params['id']."<br/>");
	    $blogpost->load($params['id']);     
	    $data = $blogpost->getData();
	    var_dump($data);  
    }
    
}